package com.fs.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 邮件验证码表
 */
@Data
@TableName("email_capt")
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class EmailCapt implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private String uuid;

	private String code;

	private Date expireTime;

	private String email;

	private Boolean status; // true 已使用，false 未使用

	private Integer type;// 1注册，2忘记密码

}
